package com.shewu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.shewu.pojo.People;

public interface PeopleMapper extends BaseMapper<People> {
	/**
	 * 使用自定义方法，同时又使用mp提供的条件构造方法
	 * */
/*@Select("select * from people ${ew.customSqlSegment}")
  List<People>  selectAll(@Param(Constants.WRAPPER) Wrapper<People> wrapper);*/
 List<People>  selectAll(@Param(Constants.WRAPPER) Wrapper<People> wrapper);

}